home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr47
/
wasm223.zip
/
VIDEO8.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-05-04
|
935b
|
39 lines
;*******************************;
; WASM Video Module, Color Flag ;
; By Eric Tauck ;
; ;
; Defines: ;
; ;
; VidCol determine if color ;
; ;
; Requires: ;
; ;
; VIDEO2.ASM ;
;*******************************;
jmps _video8_end
;========================================
; Check if the current adapter supports
; color.
;
; Out: CY= set if color.
VidCol PROC NEAR
call VidTyp ;get adapter type
cmp al, CGACOL
je _vdcol1
cmp al, EGACOL
je _vdcol1
cmp al, VGACOL
je _vdcol1
cmp al, MCGACOL
je _vdcol1
stc
_vdcol1 cmc
ret
ENDP
_video8_end